<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>基础选择器之id选择器</title>
    <style>
        /* id选择器口诀：
        样式#定义，
        结构id调用
        只能用一次 */
        #pink {
            color: pink;
        }
        #blue{
            color: royalblue;
        }
    </style>
</head>
<body>
    <div id="pink">郭达·斯坦森</div>
    <div id="pink">Tom</div>
    <div id="blue">Jerry</div>
    <p id="pink">托比</p>
</body>
</html>